package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.pojo.AdminRoleHide;

import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/2/7 12:01
 */
public interface AdminRoleHideDao extends IService<AdminRoleHide> {

    Integer roleHideCount(Long roleId);

    boolean delete(Long roleId);

    boolean saveOrUpdateAdmRoleHide(AdminRoleHide adminRoleHide);

    AdminRoleHide getArhByRoleId(Long roleId);

    List<AdminRoleHide> getArhByOrg(Long orgNo);

}
